package com.test.client.filetransfer;

import java.io.File;
import java.io.Serializable;

public class FileDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6658540961923934902L;
	private File file;
	private long fileSize;
	private String sender;
	private boolean success;
	


	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public long getFileSize() {
		return fileSize;
	}

	public void setFileSize(long fileSize) {
		this.fileSize = fileSize;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	@Override
	public String toString() {
		return "FileDto [fileSize=" + fileSize + ", sender=" + sender + "]";
	}
	
}
